package myzzyl.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Date;

@Data
@Configuration
@ConfigurationProperties(prefix = "zzyl.jwt")
public class JwtProperties {

    /**
     * header名称
     */
    private String token ;

    /**
     * 秘钥
     */
    private String secret ;

    /**
     * 过期时间
     */
    private Long expirationTime;

}
